package com.wbk.lotterysystemsystemservice.common.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminLoginBO implements Serializable {

    @ApiModelProperty(value = "管理员用户名", required = true)
    @NotBlank(message = "管理员用户名不能为空")
    private String username;

    @ApiModelProperty(value = "管理员密码", required = true)
    @NotBlank(message = "管理员密码不能为空")
    private String password;
}
